
import request from "@/utils/request";

// 得到天气数据
export function getWeather(query) {
  return request({
    url: '/getWeatherByLocalIP',
    method: 'get',
    params: query,
  })
}

//得到本地城市名
export function getLocalCityName() {
  return request({
    url: '/getLocalCityName',
    method: 'get',
  })
}
